package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 员工表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_employee")
@TableAlias("employee")
@ApiModel(value = "BusEmployee对象", description = "员工表")
public class BusEmployee extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "employeeId", type = IdType.ASSIGN_ID)
    private Long employeeId;

    @ApiModelProperty(value = "老销售Id")
    private String employeeId1;

    @ApiModelProperty(value = "员工姓名")
    private String employeeName;

    @ApiModelProperty(value = "platform平台,shop商家,third第三方")
    private String employeeType;

    @ApiModelProperty(value = "员工头像")
    private String employeeImg;

    @ApiModelProperty(value = "manager区域经理，employee普通员工")
    private String employeePosition;

    @ApiModelProperty(value = "员工账户")
    private String employeeAccount;

    @ApiModelProperty(value = "手机号")
    private String employeePhone;

    @ApiModelProperty(value = "员工二维码")
    private String employeeQrCode;

    @ApiModelProperty(value = "员工所属机场")
    private Long airportId;

    @ApiModelProperty(value = "(贵宾厅，贵宾通道，商家Id)")
    private Long targetId;

    @ApiModelProperty(value = "员工职位状态(1在职，2冻结，3离职)")
    private Integer jobState;

    @ApiModelProperty(value = "是否调岗(1是，2否)")
    private Integer isAdjust;

    @ApiModelProperty(value = "企业微信图片")
    private String qiyeWeChatImg;

    @ApiModelProperty(value = "所属公众号Id")
    private Long weChatId;

    @ApiModelProperty(value = "是否登录过")
    private Integer isLogin;


}
